import Vue from "vue";
// import VueRouter from "vue-router";
import Router from 'vue-router'
Vue.use(Router);

const router = new Router({
    mode:'hash',
    routes:[
        {
            path:'/mockdemo',
            name:'mockdemo',
            component:()=>import('@/pages/mockDemo/MockDemo.vue')
        },
        {
            path:'/',
            redirect:'/mockdemo'
        }
    ]
})

export default router;